/**
* @program: src
*
* @description:
*
* @author: Mr.chen
*
* @create: 2020-11-02 14:05
**/
package main

import (
	"fmt"
	"github.com/sirupsen/logrus"
	"net/http"
)

func main()  {
	addr := fmt.Sprintf(":%d", 7005)
	fmt.Println("|-----------------------------------|")
	fmt.Println("|-----------ydd-im-site-------------|")
	fmt.Println("|-----------author Mr.chen----------|")
	fmt.Println("|-----------------------------------|")
	fmt.Println("|--Go Http Server Start Successful--|")
	fmt.Println("|--------host 127.0.0..1:7005-------|")
	fmt.Println("|-----------------------------------|")
	fmt.Println("")
	logrus.Fatal(http.ListenAndServe(addr, http.FileServer(http.Dir("../site/"))))
}